include $(GNUSTEP_MAKEFILES)/common.make

LIBRARY_NAME = libmach
libmach_CFLAGS += -Ilibkqueue/include -Ilibkqueue/src -Ilibkqueue/src/common/ -I../include

libmach_C_FILES=libkqueue/src/linux/socket.c libkqueue/src/linux/eventfd.c libkqueue/src/linux/signal.c libkqueue/src/linux/timer.c \
libkqueue/src/linux/proc.c libkqueue/src/linux/vnode.c libkqueue/src/common/kevent.c libkqueue/src/common/kqueue.c libkqueue/src/common/filter.c \
libkqueue/src/common/knote.c libkqueue/src/posix/kevent.c libkqueue/src/posix/user.c libmach/mach_port.c

libmach_LDFLAGS+=-Wl,--no-undefined -lpthread -lrt 


include $(GNUSTEP_MAKEFILES)/library.make
